﻿@{
    Layout = null;
}
<ul id="EditMenu">
    @if (ViewBag.IsManager)
    {
        <li@{if (ViewBag.toEdit == "EditInfo")
             {<text> class="active"</text> }}>
            <a href="@Url.Action("Edit", "Product", new { toEdit = "EditInfo", id = ViewBag.ProductId })"><i class="fa fa-info-circle"></i>&nbsp;Ürün Bilgileri</a>
        </li>
        <li@{if (ViewBag.toEdit == "EditProperties")
             {<text> class="active"</text> }}>
            <a href="@Url.Action("Edit", "Product", new { toEdit = "EditProperties", id = ViewBag.ProductId })"><i class="fa fa-list"></i>&nbsp;Ekstra Alanlar</a>
        </li>
    }
    @if (ViewBag.IsSeoManager)
    {
        <li@{if (ViewBag.toEdit == "ProductMetaEdit")
             {<text> class="active"</text> }}>
            <a href="@Url.Action("Edit", "Product", new { toEdit = "ProductMetaEdit", id = ViewBag.ProductId })"><i class="fa fa-code"></i>&nbsp;Meta Bilgileri</a>
        </li>
    }

</ul>
